home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / autoit / autoit-v3.2.0.1-setup.exe / Examples / Helpfile / _DateToDayOfWeek.au3 < prev    next >
Text File  |  2006-06-17  |  260b  |  8 lines

  1. #include <Date.au3>
  2.  
  3. ; Week day number for a given date
  4. $iWeekday = _DateToDayOfWeek (@YEAR, @MON, @MDAY)
  5. ; Should be equal to @Wday
  6. MsgBox(4096, "", "Todays WeekdayNumber is: " & $iWeekDay)
  7. MsgBox(4096, "", "Today is a : " & _DateDayOfWeek($iWeekDay))
  8.